package org.example.forum.service;

import org.apache.ibatis.annotations.Param;
import org.example.forum.model.Board;

import java.util.List;

public interface IBoradService {
    void create(Board board);
    Board selectById (Long id);
    List<Board> selectByNum (@Param("num") Integer num);

    List<Board> selectAllNormal();
    void subOneArticleCountById (Long id);
}
